package com.xy.api.model.dto.mainData;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class VendorDTO implements Serializable {

    private Long id;

    //供应商名称
    private String name;

    //供应商编码
    private String code;

    //公司名称
    private String companyName;

    //供应商地址
    private String address;

    //类型：1_公司，2_个人
    private Integer type;

    //手机号
    private String phoneNum;

    // 帐期
    private Integer paymentTerm;

    //联系人
    private List<ContactDTO> contactList;

    private Long createBy;
    private Long updateBy;
    private Date createTime;
    private Date updateTime;
    private Integer isDeleted;
}
